

import Vue from 'vue'
import { 
  DropdownMenu, 
  DropdownItem,
  Sidebar,
  SidebarItem,
  Form,
  Sticky,
  Badge,
  Button,
  Cell,
  CellGroup,
  Dialog,
  Field,
  Icon,
  Loading,
  Overlay,
  Popup,
  Rate,
  Swipe,
  SwipeCell,
  SwipeItem,
  Tab,
  Tabbar,
  TabbarItem,
  Tabs,
  Tag,
  Toast,
} from 'vant'

Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.use(Sidebar)
Vue.use(SidebarItem)
Vue.use(Form)
Vue.use(Sticky)
Vue.use(Badge)
Vue.use(Button)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(Field)
Vue.use(Icon)
Vue.use(Loading)
Vue.use(Overlay)
Vue.use(Popup)
Vue.use(Rate)
Vue.use(Swipe)
Vue.use(SwipeCell)
Vue.use(SwipeItem)
Vue.use(Tab)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Tabs)
Vue.use(Tag)

Vue.prototype.$toast = Toast
Vue.prototype.$dialog = Dialog